package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 招聘岗位信息对象 sys_positions_available
 *
 * @author ruoyi
 * @date 2025-07-24
 */
public class SysPositionsAvailable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 岗位ID */
    private Long positionId;

    /** 岗位编码 */
    @Excel(name = "岗位编码")
    private String positionCode;

    /** 岗位名称 */
    @Excel(name = "岗位名称")
    private String positionName;

    /** 招聘数量 */
    @Excel(name = "招聘数量")
    private Long positionNumber;

    /** 年龄限制 */
    @Excel(name = "年龄限制")
    private String ageLimit;

    private String userAge;



    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long positionSort;

    /** 岗位性质 */
    @Excel(name = "岗位性质")
    private String positionNature;

    /** 薪酬 */
    @Excel(name = "薪酬")
    private String salary;
    private String minSalary;
    private String maxSalary;

    /** 学历要求 */
    @Excel(name = "学历要求")
    private String educationaRequirements;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 职业鉴定专业 */
    @Excel(name = "职业鉴定专业")
    private String requiredMajor;

    /** 职业技能鉴定等级 */
    @Excel(name = "职业技能鉴定等级")
    private String requiredLevel;

    /** 工作经历要求 */
    @Excel(name = "工作经历要求")
    private String workExperienceRequirements;

    /** 批次编号 */
    @Excel(name = "批次编号")
    private String batchNumber;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 备注 */
    @Excel(name = "其他要求")
    private String otherRequirements;

    /** 性别需求，（0男 1女 2未知） */
    @Excel(name = "性别需求，", readConverterExp = "0=男,1=女,2=不限")
    private String requiredSex;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 从事工作内容 */
    @Excel(name = "从事工作内容")
    private String workContent;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String contactPhone;

    /** 岗位来源1 具体到市 */
    @Excel(name = "岗位来源1")
    private String dataSource;

    /** 岗位来源2 到省 */
    @Excel(name = "岗位来源2")
    private String dataLocation;

    public void setPositionId(Long positionId)
    {
        this.positionId = positionId;
    }

    public Long getPositionId()
    {
        return positionId;
    }

    public void setPositionCode(String positionCode)
    {
        this.positionCode = positionCode;
    }

    public String getPositionCode()
    {
        return positionCode;
    }

    public void setPositionName(String positionName)
    {
        this.positionName = positionName;
    }

    public String getPositionName()
    {
        return positionName;
    }

    public void setPositionNumber(Long positionNumber)
    {
        this.positionNumber = positionNumber;
    }

    public Long getPositionNumber()
    {
        return positionNumber;
    }

    public void setAgeLimit(String ageLimit)
    {
        this.ageLimit = ageLimit;
    }

    public String getAgeLimit()
    {
        return ageLimit;
    }

    public void setPositionSort(Long positionSort)
    {
        this.positionSort = positionSort;
    }

    public Long getPositionSort()
    {
        return positionSort;
    }

    public void setPositionNature(String positionNature)
    {
        this.positionNature = positionNature;
    }

    public String getPositionNature()
    {
        return positionNature;
    }

    public void setSalary(String salary)
    {
        this.salary = salary;
    }

    public String getSalary()
    {
        return salary;
    }

    public void setEducationaRequirements(String educationaRequirements)
    {
        this.educationaRequirements = educationaRequirements;
    }

    public String getEducationaRequirements()
    {
        return educationaRequirements;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }

    public void setRequiredMajor(String requiredMajor)
    {
        this.requiredMajor = requiredMajor;
    }

    public String getRequiredMajor()
    {
        return requiredMajor;
    }

    public void setRequiredLevel(String requiredLevel)
    {
        this.requiredLevel = requiredLevel;
    }

    public String getRequiredLevel()
    {
        return requiredLevel;
    }

    public void setWorkExperienceRequirements(String workExperienceRequirements)
    {
        this.workExperienceRequirements = workExperienceRequirements;
    }

    public String getWorkExperienceRequirements()
    {
        return workExperienceRequirements;
    }

    public void setBatchNumber(String batchNumber)
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber()
    {
        return batchNumber;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setOtherRequirements(String otherRequirements)
    {
        this.otherRequirements = otherRequirements;
    }

    public String getOtherRequirements()
    {
        return otherRequirements;
    }

    public void setRequiredSex(String requiredSex)
    {
        this.requiredSex = requiredSex;
    }

    public String getRequiredSex()
    {
        return requiredSex;
    }

    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }

    public void setWorkContent(String workContent)
    {
        this.workContent = workContent;
    }

    public String getWorkContent()
    {
        return workContent;
    }

    public void setContactPhone(String contactPhone)
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone()
    {
        return contactPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("positionId", getPositionId())
                .append("positionCode", getPositionCode())
                .append("positionName", getPositionName())
                .append("positionNumber", getPositionNumber())
                .append("ageLimit", getAgeLimit())
                .append("positionSort", getPositionSort())
                .append("positionNature", getPositionNature())
                .append("salary", getSalary())
                .append("educationaRequirements", getEducationaRequirements())
                .append("location", getLocation())
                .append("requiredMajor", getRequiredMajor())
                .append("requiredLevel", getRequiredLevel())
                .append("workExperienceRequirements", getWorkExperienceRequirements())
                .append("batchNumber", getBatchNumber())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("otherRequirements", getOtherRequirements())
                .append("requiredSex", getRequiredSex())
                .append("companyName", getCompanyName())
                .append("workContent", getWorkContent())
                .append("contactPhone", getContactPhone())
                .toString();
    }

    public String getDataLocation() {
        return dataLocation;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public void setDataLocation(String dataLocation) {
        this.dataLocation = dataLocation;
    }


    public String getMaxSalary() {
        return maxSalary;
    }

    public void setMaxSalary(String maxSalary) {
        this.maxSalary = maxSalary;
    }

    public String getMinSalary() {
        return minSalary;
    }

    public void setMinSalary(String minSalary) {
        this.minSalary = minSalary;
    }

    public String getUserAge() {
        return userAge;
    }

    public void setUserAge(String userAge) {
        this.userAge = userAge;
    }
}
